package com.nnxy.work_to_study.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author @easily001
 * @since 2021-09-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_job")
@ApiModel(value="Job对象", description="")
public class Job implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "岗位名称")
    private String name;

    @ApiModelProperty(value = "所属项目id, 与项目表id字段对应")
    private Integer projectId;

    @ApiModelProperty(value = "工作地址")
    private String address;

    @ApiModelProperty(value = "酬劳")
    private BigDecimal salary;

    @ApiModelProperty(value = "岗位要求")
    private String requirement;

    @ApiModelProperty(value = "性别要求")
    private String sex;

    @ApiModelProperty(value = "工作时间")
    private String workTime;

    @ApiModelProperty(value = "发布时间")
    private String releaseTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;


}
